import java.util.ArrayList;


public class Demo {
	String[] str1= {"sa","ddd"};
	ArrayList alist = new ArrayList();
	int i =12;
	public static void main(String args[]){
		Demo demo = new Demo();
		demo.alist.add("aaa");
		
		demo.change(demo.str1, demo.alist);
		System.out.println(demo.str1[0]);
		System.out.println(demo.alist);
		System.out.println(demo.i);
	}
	public void change(String[] str1,ArrayList list){
		str1[0] = "test ok";
		list.add("ff");
	}
	public void change(String[] s,int i){
		s[0] = "test ok";
		i=20;
	}
}
